{{ partial "head.html" . }}
	<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}} h-entry">
		<main class="content container" role="main">
			<article class="post">
				<header>
				  <h4 class="breadcrumbs">
				    <a class="" href={{ relURL "talk" }}>Talks</a>
				    {{ if .Params.talk_type }}
				      > {{ .Params.talk_type }}
				    {{ end }}
				  </h4>
				  <a class="u-url" href="{{ .Permalink | replaceRE "/$" "" }}">
						<h1 class="post-title p-name">{{ .Title | emojify }}</h1>
					</a>
					<h3>{{ delimit .Params.talk_author ", " }}</h3>
				</header>
				<main class="post-content e-content">
				  {{ if .Params.talk_image}}
				  <img class="talk-image" src={{ .Params.talk_image }}>
				  {{ end }}
          <table class='talk-table'>
            <tr>
              <td>Event</td>
              <td>{{ .Params.talk_event }}</td>
            </tr>
            <tr>
              <td>Date</td>
              <td>{{ .Date.Format "Monday, 2 January 2006" }}</td>
            </tr>
            {{ if .Params.talk_location }}
            <tr>
              <td>Location</td>
              <td>{{ .Params.talk_location }}</td>
            </tr>
            {{ end }}
            {{ if .Params.talk_event_url }}
            <tr>
              <td>Event Link</td>
              <td>
                <a href={{ .Params.talk_event_url | relURL }}>{{ .Params.talk_event_url | relURL }}</a>
              </td>
            </tr>
            {{ end }}
            {{ if .Params.talk_code_url }}
            <tr>
              <td>Source Code</td>
              <td>
                <a href={{ .Params.talk_code_url | relURL }}>{{ .Params.talk_code_url | relURL }}</a>
              </td>
            </tr>
            {{ end }}
            {{ if .Params.talk_slides_url }}
            <tr>
              <td>Slides Link</td>
              <td>
                <a href={{ .Params.talk_slides_url | relURL }}>{{ .Params.talk_slides_url | absURL }}</a>
              </td>
            </tr>
            {{ end }}
             {{ if .Params.talk_recording_url }}
            <tr>
              <td>Recording</td>
              <td>
                <a href={{ .Params.talk_recording_url | relURL }}>{{ .Params.talk_recording_url | absURL }}</a>
              </td>
            </tr>
            {{ end }}
          </table>
          {{ if .Params.talk_abstract }}
          <h3>Abstract</h3>
          <blockquote>{{ .Params.talk_abstract }}</blockquote>
          {{end}}
					{{ .Content }}
				</main>
				<footer class="footer">
					{{ partial "tags.html" . }}
				</footer>
			</article>
		</main>
		{{ partial "sidebar.html" . }}
		{{ partial "footer.html" . }}
	</body>
</html>
